/*******************************************************************************
* Project: QSAR(Cute Software Architecture)
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: CanDrvRte.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: CanDrv
*
*******************************************************************************/

#ifndef CANDRVRTE_H
#define CANDRVRTE_H

/** HEADER FILES **/
#include "can.h"


/** GLOBAL DATA DECLARATION **/
extern CAN_HandleTypeDef hcan;


/** GLOBAL FUNCTION DECLARATION **/
extern void CanIf_RxIndication (
    const Can_HwType* Mailbox,
    const PduInfoType* PduInfoPtr
);

extern Std_ReturnType CanIf_Transmit (
    PduIdType TxPduId,
    const PduInfoType* PduInfoPtr
);

extern void CAN_SilentMode(
    void
);

extern void CAN_NormalMode(
    void
);


#endif
